package com.dean.service.support;

import com.dean.service.DeanScriptService;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.HashMap;
import java.util.Map;

/**
 * @author dean
 * @version 1.0
 * @description: TODO
 * @date 2024/1/31 14:07
 */
public abstract class AbstractDeanScriptService implements DeanScriptService {
    public Map<String,Object> init(){
        Map<String,Object> params =  new HashMap<>();
        // 系统参数处理
        params.put("SYS_DATE", LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMdd")));
        return params;
    }
}
